package com.cvs.service.impl;

import com.cvs.bean.Level;
import com.cvs.dao.LevelMapper;
import com.cvs.service.LevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("levelService")
public class LevelServiceimpl implements LevelService {
    @Autowired
    private LevelMapper levelMapper;
    @Override
    public List<Level> findAll()
    {
        return levelMapper.findAll();
    }
}
